var t, o = getApp(), e = require("../WxNotificationCenter/WxNotificationCenter.js");

Component({
    properties: {},
    data: {
        showDown: 0
    },
    methods: {
        bindAppTap: function(t) {
            wx.navigateTo({
                url: "/pages/login/appDonePage/appDonePage"
            });
        },
        updateState: function() {
            console.log("@!!!!show:", o.globalData.appDownOpen), t.setData({
                showDown: parseInt(o.globalData.appDownOpen)
            });
        }
    },
    ready: function() {
        t = this, e.addNotification("getWPDownloadAppInfoSuccess", this.updateState, this), 
        this.updateState();
    },
    detached: function() {
        e.removeNotification("getWPDownloadAppInfoSuccess", this);
    }
});